]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
telepathyClient: Use ratio char for timestamps
authorCarlos Soriano <carlos.soriano89@gmail.com>
Mon, 17 Feb 2014 19:44:27 +0000 (20:44 +0100)
committerCarlos Soriano <carlos.soriano89@gmail.com>
Mon, 17 Feb 2014 19:52:51 +0000 (20:52 +0100)
js/ui/components/telepathyClient.js

index a78fbafd56690da4525a18e9d7e1b0db78ec39e2..831e4da0c0b0344b2ef48a18e4bc412115957bef 100644 (file)
@@ -944,28 +944,28 @@ const ChatNotification = new Lang.Class({
 
         // Show only the hour if date is on today
         if(daysAgo < 1){
-            format = _("%H:%M");
+            format = _("%H\u2236%M");
         }
         // Show the word "Yesterday" and time if date is on yesterday
         else if(daysAgo <2){
             /* Translators: this is the word "Yesterday" followed by a time string. i.e. "Yesterday, 14:30"*/
             // xgettext:no-c-format
-            format = _("Yesterday, %H:%M");
+            format = _("Yesterday, %H\u2236%M");
         }
         // Show a week day and time if date is in the last week
         else if (daysAgo < 7) {
             /* Translators: this is the week day name followed by a time string. i.e. "Monday, 14:30*/
             // xgettext:no-c-format
-            format = _("%A, %H:%M");
+            format = _("%A, %H\u2236%M");
 
         } else if (date.getYear() == now.getYear()) {
             /* Translators: this is the month name and day number followed by a time string. i.e. "May 25, 14:30"*/
             // xgettext:no-c-format
-            format = _("%B %d, %H:%M");
+            format = _("%B %d, %H\u2236%M");
         } else {
             /* Translators: this is the month name, day number, year number followed by a time string. i.e. "May 25 2012, 14:30"*/
             // xgettext:no-c-format
-            format = _("%B %d %Y, %H:%M");
+            format = _("%B %d %Y, %H\u2236%M");
         }
 
         return date.toLocaleFormat(format);